<template>
  <el-dialog v-model="publicStore.isFalse" title="查看" :before-close="onVisable" :draggable="true" :fullscreen="true">
    <div class="window" id="Bar3d"></div>
  </el-dialog>
</template>

<script lang="ts" setup>
  const { proxy }:any = getCurrentInstance()
  const publicStore = proxy.publicStore()
  const state = reactive({
	  ...publicStore.$state,
  })

  const onVisable = async () => {
    publicStore.isFalse = !publicStore.isFalse
    if(!publicStore.isFalse) return
  }
</script>

<style scoped lang="scss">
  :deep(.el-dialog__body){
    background: #002EC4 !important;
    padding: 0 !important;
  }
</style>